import request from '@/utils/request' ;
// 结办统计
export function getTransferred() {
  return request ({
    url: 'http://192.168.26.22/datavis/done',
    method: 'get'
  })
   .then(res => {
    console.log(res.data.data)
    return res.data.data
   })
   .catch(err => err)
}
// 情况统计
export function getCondition(data) {
  return request ({
    url: 'http://192.168.26.22/datavis/department/',
    method: 'get',
    params: {
      data,
    }
  })
   .then(res => {
    console.log(res)
    return res.data.data
   })
   .catch(err => err)
}
